import request from '@/utils/request'

// 会员账单列表
export function listAppLogCash(params) {
  return request({
    url: '/ums/system/appLogCash/listAll',
    method: 'get',
    params
  })
}

// 会员账单列表
export function listAppAdminAccOperation(params) {
    return request({
      url: '/ums/system/appAdminAccOperation/list',
      method: 'get',
      params
    })
  }

  // 出金审核
export function updataAppAdminAccOperation(data) {
    return request({
      url: '/ums/system/appAdminAccOperation/updateStatus',
      method: 'post',
      data
    })
  }

  // 重新出金
  export function againCashOut(data) {
    return request({
      url: '/ums/system/appAdminAccOperation/againCashOut',
      method: 'post',
      params:data
    })
  }


  // 获取出金记录
export function getBusinessIdList(params) {
  return request({
    url: '/third/system/bankrecordlog/getBusinessIdList',
    method: 'get',
    params
  })
}
 
  

  //立即出金
  export function fastOutCash(data) {
    return request({
      url: '/ums/system/appAdminAccOperation/fastOutCash',
      method: 'post',
      params:data
    })
  }

  //确认出金
  export function auditConfirmCashOut(data) {
    return request({
      url: '/ums/system/appAdminAccOperation/confirmCashOut',
      method: 'post',
      data
    })
  }


//退回手续费
export function returnServiceCharge(data) {
  return request({
    url: '/ums/system/appAdminAccOperation/returnServiceCharge',
    method: 'post',
    params:data
  })
}
  
